package com.zfk.transaction.mapper;

import com.zfk.transaction.entity.Location;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LocationMapper {

    int addLocation(Location location);

    int deleteLocation(int id);

    int updateLocation(Location location);

    List<Location> getLocations(int user_id);


}
